#ifndef CSTARTDIALOG_H
#define CSTARTDIALOG_H

#include <QDialog>
#include <QRadioButton>

#include <QtDebug>

namespace Ui {
    class CStartDialog;
}

class CStartDialog : public QDialog {
    Q_OBJECT
public:
    CStartDialog(QWidget *parent = 0);
    ~CStartDialog();

    bool isCreate();
    QString filename();
    QString cipher();

private slots:
    void open();

protected:
    void changeEvent(QEvent *e);
    void debug(QString msg) { qDebug() << "[StartDialog]\t" + msg; }

private:
    Ui::CStartDialog *ui;
    QList<QRadioButton*> m_buttons;
};

#endif // CSTARTDIALOG_H
